package com.mxw.account.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mxw.account.dto.AccountDTO;
import com.mxw.account.mapper.domain.Account;
import com.mxw.account.mapper.domain.AccountEntity;

/** @Description: AccountService @Author: RingKo */
public interface AccountService extends IService<Account> {
  Account selectByCode(String accountCode);

  Boolean saveAccount(AccountDTO accountDTO);

  Boolean asyncSaveAccount(AccountDTO accountDTO);

  AccountEntity jpaTest(AccountDTO accountDTO) throws Exception;
}
